home *** CD-ROM | disk | FTP | other *** search
- DISKCAT v.2.0
- Disk Catalog Program
-
- Programs- DISKCAT.EXE uses a machine language routine to read a disk's
- directory, adds file names, date and size to a catalog file,
- allows file descriptions to be added, searches for file and
- disk names, gives a disk its own table of contents file, and
- more.
- DC-SORT.EXE sorts, prints the catalog file; it will compare two
- catalog files and print a comparative list showing differences.
- DC-FIND.EXE from DOS, displays the disk name for a specified file.
- DC-O.EXE, DC-S-O.EXE, DC-F-O.EXE are versions of the above programs
- compiled with the "/O" option. If you do not have the compiler
- run-time program, BASRUN.EXE, use these versions. You should
- first rename them as DISKCAT.EXE, DC-SORT.EXE, and DC-FIND.EXE.
-
- Hardware Requirements-
- Minimum: 96K, one disk drive, 80-column monitor, IBM PC or Compaq.
- Recommended: a RAM disk-emulator to hold DISKCAT.DTA, printer,
- graphics board, BASRUN.EXE.
- DOS: 1.0 1.1 2.0
-
- Maximum # of file name entries: 2000 to 4000+ depending on memory. (For more
- than 2000 entries, you must modify the DIM statements in DC-SORT.BAS.)
-
-
- DISKCAT.EXE Program Functions-
-
- 1) Read a disk's files into the catalog.
- -prompts for a name for the disk
- -checks to see if name is already used and, if so, choices are to
- * delete the disk from the file
- Records to be deleted are changed to all z's. Select "Purge"
- at main menu to remove these records. After marking records
- for deletion, you are prompted again for a disk name. If you
- just wanted to delete the disk without reading another one,
- press Enter and return to main menu.
- * read the disk and update the file
- This option allows you to update a disk's records without
- wiping out the file descriptions for files that are still on
- the disk. See "2) Add descriptions to file names".
- * enter another disk name
- -file names, size & date are read from disk, sorted by name and
- added to DISKCAT.DTA file. The disk name is added to DISKCAT.NFO
- along with disk type (# sides, # sectors) and free space remaining.
-
- 2) Add descriptions to file names.
- -displays disk name and file name and prompts for a 10-character
- category and 25-character file description. The displayed
- categories can be entered into the category field by entering the
- number or first few characters of the category name.
-
-
-
-
-
-
-
-
- page 1
- -the following functions are available in this routine:
- [Alt]-
- [P] Prior entry: displays previous entry.
- [F] Find file: finds a file from all or part of the name
- and makes it the current record.
- [D] Find disk: finds a disk from all or part of the name,
- and makes the first file on the disk the
- current record.
- [K] Kill entry: marks the displayed entry for deletion by
- the "Purge" routine. Also allows the file
- to actually be deleted from the disk.
- [V] View file: displays contents of a file one screen at a time,
- which is useful when entering file descriptions.
- [R] Repeat entry: repeats category & description from previous
- file: for programs with multiple files, such as
- FK.DOC, FK.HEX, FK.COM.
- [S] Skip disk: finds the next disk name and makes its first file
- the current record.
- [C] Edit categories: allows you to change the category names.
-
- 3) Give a disk its own catalog.
- -creates a file on the target disk of its files with descriptions.
- The file can be TYPEd from DOS to review contents of disk.
-
- 4) Find all copies of one file.
- -displays all disk names containing the desired file.
-
- 5) Display all files for a disk name.
-
- 6) Display all disk names along with # sectors, # sides and free space.
-
- 7) Print a hardcopy catalog listing.
- -goes to the DC-SORT program to print the DISKCAT.DTA file.
-
- 8) Purge deleted files from catalog.
- -eliminates records marked for deletion with z's.
- -NOTE: compressing records in a random access file does not change the
- physical size of the file, even though a new End-of-file marker is used.
- The problem is that the file size in the directory is not changed yet.
- To change the file size, either copy DISKCAT.DTA in DOS using /A, which
- will cause DOS to stop at the EOF marker, or use the print-to-file
- option in DC-SORT to create a new file (see DC-SORT Functions, below).
-
-
- DC-DOC.BAS & DISKCAT.DOC
-
- DC-DOC.BAS contains an introduction to DISKCAT and will print the
- DISKCAT.DOC documentation file to the screen or printer. DISKCAT.DOC can also
- be TYPEd from DOS. DC-DOC.BAS does not come compiled and is the only program
- in this series that may be passed around in a source-code format.
-
-
-
-
-
-
-
-
-
- page 2
- DC-SORT.EXE Program Functions-
-
- 1) Compare two DISKCAT.DTA files.
- -compares two catalogs and prints a comparative list. This function
- is designed to facilitate comparing software libraries by different
- user groups or individuals who collect public domain software.
-
- 2) Print DISKCAT.DTA sorted by file name.
- -this option and the ones that follow will print to the screen,
- the printer, or a disk file.
-
- 3) Print DISKCAT.DTA sorted by disk name.
- -this option and the ones that follow first sort by file name,
- then by the option selected; in this case, by disk name.
-
- 4) Print DISKCAT.DTA sorted by file type.
-
- 5) Print DISKCAT.DTA sorted by file extension.
-
-
-
- Data Files-
-
- 1) DISKCAT.DTA is a random access file containing file names & info.
- Record layout:
- file name 12 spaces
- disk name 8 spaces
- file type 10 spaces
- file descrip. 25 spaces
- file date 10 spaces
- file size 7 spaces
- carriage rtn
- & line feed 2 spaces (Allows TYPEing DISKCAT.DTA at DOS or
- -- loading it into a word processor.)
- record length 74
-
- 2) DISKCAT.NFO is a sequential file that, when you first receive it, contains
- the file categories (see below). When you name a disk and read its files,
- the disk name and total number of file names in DISKCAT.DTA is added to
- this file. When starting a new DISKCAT.DTA file, copy the file
- DC-NEW.NFO to DISKCAT.NFO.
-
-
- OTHER WAYS TO EDIT AND PRINT THE CATALOG-
-
- The DISKCAT.DTA file can be TYPEd from DOS. It can also be edited by text
- processors, with the following warnings:
- -IBM's Personal Editor should be used with the NOTABS option when saving.
- Otherwise, it replaces blanks with tabs, which destroys the necessary
- uniform record length.
- -WordStar can be used in the non-document mode, but be careful to enter
- data exactly as in the other records. (eg: the dot [.] in the file
- name must always be in column 9).
-
-
-
-
-
-
- page 3
- -NOTE: if records are added or deleted with text processors, the number
- of files (the second number in the DISKCAT.NFO file) must be changed.
- -You should use text processors only if the file has been messed up and
- you are trying to save it. All lines must be 72 characters long,
- followed with a carriage return & line feed.
-
- The data base program, PC-FILE, that is available from most user groups,
- can be used for special printing or sorting requirements. First, you
- must use PC-FILE to set up the DISKCAT.HDR file, using the field lengths
- shown at the start of this documentation. You must include a 1-character
- field for the line feed, even though you would not print that field. The
- carriage return is PC-FILE's "end-of-record" marker, but is not a field.
- You must then use PC-FILE to sort DISKCAT.DTA so that PC-FILE will create
- an index file for its own use.
-
-
- SUGGESTIONS-
-
- As already mentioned, this program makes it easy for PC user groups to
- catalog and describe their public domain software libraries and to compare
- them with other groups. Because disks can be read so quickly, libraries
- of over 1000 files each can be read and compared in a matter of minutes.
-
- I have a hard disk that I back up on floppies. By keeping this program on
- the hard disk, I can find in seconds which floppy contains the backup copy
- of a particular file. For this use, since I usually know what the files are,
- I don't bother to enter file descriptions. Having a printout of DISKCAT.DTA
- sorted by filename is handy when it is not convenient to load DISKCAT.
-
- When entering descriptions, viewing the contents of the file is very helpful.
- Most of an .EXE file will print out as gibberish, but it might have enough
- string data that will print out as text to aid in classifying a file. Use
-
-
- ASSIGNING CATEGORIES-
-
- The Category is meant to be a "key field" that you can use to group files
- in a printout. Let's say you are classifying the DISKCAT program.
- For Category, you could call DISKCAT.EXE a "Disk catalog" file , the .DOC
- file a"Documentation" file, the .DTA file a "Data file". But when you sort
- by Category, do you really want to see all the documentation files listed
- by themselves and all the data files by themselves? I prefer to classify
- all related files the same as the main program, so that they will be grouped
- together when printing a list sorted by Category.
-
- Try to use the Categories displayed at the top of the screen so that the
- descriptions that are meant to be the same will match exactly. Otherwise,the
- sort program will not recognize them as being the same. The Categories can
- be changed in the DISKCAT.NFO file with a word processor. The maximum number
- of categories is 32. If adding or deleting categories, be sure to change
- the amount following the words "Number of Categories" in the DISKCAT.NFO file.
-
-
-
-
-
-
-
-
- page 4
- In the Houston user's group, we put similar files onto the same disk and
- give the disk an appropriate name, such as UTILITIES. This allows us to be
- more specific in naming the Utilities, such as function-key utilities,
- sort utilities, etc., since the disk name already indicates what general
- category the file fits into.
-
-
- DISTRIBUTION-
-
- A limited license is granted to copy the compiled versions of DISKCAT,
- DC-SORT and DC-FIND and associated files except the BASIC source code
- of the three programs just mentioned. All copyright notices must be left
- intact and this documentation file included. In addition, these programs
- are not to be distributed as part of any commercial endevour, such as, but
- not limited to, software give-aways by retailers, "magazines-on-a-disk", or
- groups that charge more than a nominal "copying fee" for a disk with these
- files. The programs, excluding the uncompiled BASIC programs, may be
- included on all electronic bulletin boards and PC user group libraries.
-
- These programs are being distributed under the pay-only-if-you-like-it
- approach. The suggested contribution is $20.
-
-
- SOURCE CODE-
-
- The source code will be sent to paying customers only. The source code
- for DISKCAT may not be copied and distributed. Potential users should be
- able to tell from using the compiled programs whether they like them. If
- they like them enough to want the source code, they can order it for $20.
-
- If you make modifications or have suggestions for improvements, I am very
- interested in hearing of them.
-
-
-
- Nelson Ford
- P.O. Box 61565
- Houston, Texas 77208
-
- Source ID: ST3564
- ------------------
-
- Acknowledgements for Suggestions:
- (1) Kill file from disk when deleting entry from DISKCAT.
- (2) Show free space on disk along with file name.
- (James Jacques Delafield,WI)
-
- (3) Show disk type (# sectors and # sides) along with file name.
- (Bob Duval Charleston, SC)
-
- (4) Include DISKCAT.HDR file for easier use with PC-FILE (copyright J.Button).
- (5) Read DOS 2.0 subdirectories (future enhancement).
- (John Burns Mattawan, MI)
-
-
-
-
-
-
- page 5